<?php
/*
** date : 2011-1-21 ; copyright : 7OUR.COM <http://7our.com> ; author : xjay <xucj21@21cn.com>
*/
class InstallBehavior extends Behavior {
	public function run(){
		if(C('DB_TYPE')==null||C('DB_NAME')==null){
			if(!empty($_GET['step'])){
				switch (intval($_GET['step'])){
					case 1:
						
						break;
					case 2:
						break;
					case 3:
						break;
				}
			}else{
				throw_exception('您还没有进行程序安装，<a href="?step=1">点击安装！</a>');
			}	
		}
	}
}